//
//  YTHomeFollowHeaderView.m
//  yitaicaijing
//
//  Created by DIANGHONG on 2018/9/18.
//  Copyright © 2018年 DIANGHONG. All rights reserved.
//

#import "YTHomeFollowHeaderView.h"
@interface YTHomeFollowHeaderView ()
@property (weak, nonatomic) IBOutlet UILabel *tipLabel;

@end
@implementation YTHomeFollowHeaderView

+ (instancetype)headerViewWithTip:(NSString *)tip
{
    UINib *nib = [UINib nibWithNibName:@"YTHomeFollowHeaderView" bundle:nil];
    YTHomeFollowHeaderView *view = [nib instantiateWithOwner:nil options:nil][0];
    view.tipLabel.text = tip;
    return view;
}

- (void)setTipStr:(NSString *)tipStr
{
    _tipStr = tipStr;
    
    self.tipLabel.text = tipStr;
}
@end
